package com.whenjun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author whenjun
 * @since 2024-03-05
 */
@TableName("kq_alarm")
@ApiModel(value = "KqAlarm对象", description = "")
public class KqAlarm implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty("工号")
    private String jobNo;

    @ApiModelProperty("类型")
    private String typeCode;

    @ApiModelProperty("考勤异常原因")
    private String reason;

    @ApiModelProperty("事件开始时间")
    private LocalDateTime eventStartTime;

    @ApiModelProperty("事件结束时间")
    private LocalDateTime eventEndTime;

    @ApiModelProperty("考勤异常时间, 秒数")
    private Integer exceptionTime;

    @ApiModelProperty("0 未修正   1已修正")
    private Boolean fixState;

    @ApiModelProperty("修正时间")
    private LocalDateTime fixTime;

    @ApiModelProperty("数据新增时间")
    private LocalDateTime createTime;

    @ApiModelProperty("修正数据人员")
    private String fixUser;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getJobNo() {
        return jobNo;
    }

    public void setJobNo(String jobNo) {
        this.jobNo = jobNo;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public LocalDateTime getEventStartTime() {
        return eventStartTime;
    }

    public void setEventStartTime(LocalDateTime eventStartTime) {
        this.eventStartTime = eventStartTime;
    }

    public LocalDateTime getEventEndTime() {
        return eventEndTime;
    }

    public void setEventEndTime(LocalDateTime eventEndTime) {
        this.eventEndTime = eventEndTime;
    }

    public Integer getExceptionTime() {
        return exceptionTime;
    }

    public void setExceptionTime(Integer exceptionTime) {
        this.exceptionTime = exceptionTime;
    }

    public Boolean getFixState() {
        return fixState;
    }

    public void setFixState(Boolean fixState) {
        this.fixState = fixState;
    }

    public LocalDateTime getFixTime() {
        return fixTime;
    }

    public void setFixTime(LocalDateTime fixTime) {
        this.fixTime = fixTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getFixUser() {
        return fixUser;
    }

    public void setFixUser(String fixUser) {
        this.fixUser = fixUser;
    }

    @Override
    public String toString() {
        return "KqAlarm{" +
            "id = " + id +
            ", jobNo = " + jobNo +
            ", typeCode = " + typeCode +
            ", reason = " + reason +
            ", eventStartTime = " + eventStartTime +
            ", eventEndTime = " + eventEndTime +
            ", exceptionTime = " + exceptionTime +
            ", fixState = " + fixState +
            ", fixTime = " + fixTime +
            ", createTime = " + createTime +
            ", fixUser = " + fixUser +
        "}";
    }
}
